From: Keir Fraser Date: Wed, 30 Jan 2008 14:24:20 +0000 (+0000) Subject: xend: fix external-device-migrate step 0 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14346 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5fcfe68304aaddafe0fd6f225b9605897d82035d;p=xen.git xend: fix external-device-migrate step 0 Add domain name to a migrateDevice call, so the helper script (external-device-migrate example) does not fail at step 0 (MIGRATION_TEST). Signed-off-by: Pascal Bouchareine --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 8cb1531f06..96f65287b7 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1585,7 +1585,7 @@ class XendDomainInfo: @raise: XendError for a device that cannot be migrated """ for (n, c) in self.info.all_devices_sxpr(): - rc = self.migrateDevice(n, c, network, dst, DEV_MIGRATE_TEST) + rc = self.migrateDevice(n, c, network, dst, DEV_MIGRATE_TEST, self.getName()) if rc != 0: raise XendError("Device of type '%s' refuses migration." % n)